<?php namespace Zders\CustomTools\ListColumns\traits;

trait PrepareVars {
    /**
     * set vars
     *
     * @param [type] $value
     * @param [type] $column
     * @param [type] $record
     * @return obj
     */
    public static function prepareVars($value, $column, $record)
    {
        $list = new static;
        $list->vars['value'] = $value;
        $list->vars['column'] =  $column;
        $list->vars['record'] = $record;
        return $list;
    }
}